﻿namespace TI_BLE_HCI_ClientLib.DataEntities.Advertising
{
    public class TxPowerLevelAdvertisingDataStructure : AdvertisingDataStructure
    {
        byte _txPowerLevel;

        public byte TxPowerLevel
        {
            get { return _txPowerLevel; }
            set { _txPowerLevel = value; }
        }
        
        public TxPowerLevelAdvertisingDataStructure(byte txPowerLevel)
            : base(AdvertisingDataStructureTypeEnum.TxPowerLevel, new byte[] {txPowerLevel})
        {
            _txPowerLevel = txPowerLevel;
        }
    }
}